package com.firegod.servicebase.dao;

import com.firegod.servicebase.entity.Topic;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface TopicRepository extends JpaRepository<Topic, Long>, JpaSpecificationExecutor<Topic> {
    boolean deleteTopicByTopicId(String topicId);

    Topic getTopicByTopicId(String topicId);
}
